package com.iacrqq.sedaf.queue.adaptive;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.iacrqq.sedaf.queue.Queue;
import com.iacrqq.sedaf.queue.QueueRuntimeStatistics;

/**
 * 
 * @author sihai
 *
 */
public class QueueAdjuster
{
	private static Log logger = LogFactory.getLog(QueueAdjuster.class);
	
	private Queue queue;
	
	public QueueAdjuster(Queue queue)
	{
		this.queue = queue;
	}
	
	/**
	 * 
	 */
	public void adjust()
	{
		QueueRuntimeStatistics snapshot = queue.getQueueRuntimeStatistics();
		//System.out.println(new StringBuilder("Queue:").append(queue.getName()).append("'s Runtime Statistics: ").append(snapshot.toString()));
	}
}
